<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import= "beans.MozoBean" %>
   <%@ page import= "beans.MesaBean" %>
   <%@ page import= "java.util.Iterator"%>
   <%@ page import= "java.util.ArrayList"%>
   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%String cantComensales=(String)request.getSession().getAttribute("cantComensales");
if (cantComensales == null)
	cantComensales = "0";
	 %>
<title>Insert title here</title>
</head>
<body>
	<body topmargin="0" leftmargin="0" bgcolor="#E0ECFE")>
		<form name="formapmesa" action="./AperturaMesa2" method="Get">
		<br>
		<center><legend><h1>Nueva Apertura de Mesa</h1></legend></center>
		<br>
		<br>
		<%MozoBean mozologeo=(MozoBean)request.getSession().getAttribute("mozologeo");%>
		
		<h3><font color="Green"> Mozo  :  <%=mozologeo.getNombre()+" "+ mozologeo.getApellido() %> </font></h3>
		<input type="hidden"  name="idSucursal" value="1" />
		
		<br>
		<br>
		<br>
		
		<legend>Ingresar cantidad de Comensales</legend>
		
		<input type="text" name="cantComensales" size="2" value="<%=cantComensales %>">
		<br>
		<br>
	
		<p></p>
		
		
		
		<%
		MozoBean aux;
		ArrayList<MozoBean>	 mozos = (ArrayList<MozoBean>) request.getAttribute("listamozos");
		%>
		
		<br>
		<%
		
		//Integer mesas= (Integer)application.getAttribute("combomesas");
		%>
		<br>
		<td>Seleccionar Mesas</td> 
		<br>
		<input type="submit" name="action" value="MostrarMesas">
		<br>
		<br> 
		
		<input type="submit" name="action" value="Confirmar">
	
	<br>
	</form>
	<br>
	
	
</body>
</html>